package cn.itcast.bos.quartz;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.itcast.bos.service.take_delivery.WayBillService;

@Service
public class WayBillIndexJob implements Job{
	
	@Autowired
	private WayBillService wayBillService;

	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		wayBillService.updateIndex();
		
	}

}
